Encapsulate all of the information about a button in a struct instead of
authorJonathan Blandford <jrb@gnome.org>
Tue, 9 Mar 2004 21:29:59 +0000 (21:29 +0000)
committerJonathan Blandford <jrb@src.gnome.org>
Tue, 9 Mar 2004 21:29:59 +0000 (21:29 +0000)
commit58d6014c4dc078675bd537e484a26c8726d1ac09
tree0fbd3159d8f00b517c10083d609bcccaa235d35a
parentb82008a0378afd2f7fc5eaa3de059fecacb08533
Encapsulate all of the information about a button in a struct instead of

Tue Mar  9 16:19:09 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtkpathbar.c (struct _ButtonData): Encapsulate all of the
        information about a button in a struct instead of ugly
        g_object_set_data.
        (gtk_path_bar_size_request): Use ButtonData.
        (gtk_path_bar_update_slider_buttons): ditto
        (gtk_path_bar_size_allocate): ditto
        (gtk_path_bar_remove): ditto
        (gtk_path_bar_forall): ditto
        (gtk_path_bar_scroll_down): ditto
        (gtk_path_bar_clear_buttons): ditto
        (button_clicked_cb): ditto.  Also, add an ignore_changes variable
        (button_data_free): destroy ButtonData
        (update_button_appearance): Use ButtonData
        (make_directory_button): ditto
        (gtk_path_bar_check_parent_path): ditto
        (_gtk_path_bar_set_path): ditto
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkpathbar.c